//
//  WYMoment.h
//  FriendCircleDemo
//
//  Created by mac on 2018/9/25.
//  Copyright © 2018年 WY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WYUser.h"
#import "WYPicture.h"
#import "WYComment.h"
#import "WYMomentShareInfo.h"
#import "WYMomentVideo.h"

@interface WYMoment : NSObject
/// 正文
@property (nonatomic, copy)NSString *text;
/// idStr
@property (nonatomic, copy)NSString *idstr;
/// 创建时间
@property (nonatomic, readwrite, strong) NSDate *createdAt;
/// 来源 （比如：今日头条、QQ音乐...）
@property (nonatomic, readwrite, copy) NSString *source;
/// 来源可否点击 0 不可点击
@property (nonatomic, readwrite, assign) NSUInteger sourceAllowClick;
/// 点击来源跳转的链接
@property (nonatomic, readwrite, copy) NSString *sourceUrl;
/// 位置 （暴露位置，始终可以点击）
@property (nonatomic, readwrite, copy) NSString *location;
/// 是否已点赞 0 没有点赞
@property (nonatomic, readwrite, assign) NSUInteger attitudesStatus;
/// 点赞数
@property (nonatomic, readwrite, assign) NSUInteger attitudesCount;
/// 点赞列表 (可变数组)
@property (nonatomic, readwrite, strong) NSMutableArray <WYUser *> * attitudesList;
/// 评论数
@property (nonatomic, readwrite, assign) NSUInteger commentsCount;
/// 评论列表
@property (nonatomic, readwrite, strong) NSMutableArray <WYComment *> *commentsList;
/// 用户模型
@property (nonatomic, readwrite, strong) WYUser *user;
/// 图片数组
@property (nonatomic, readwrite, copy) NSArray <WYPicture *> *picInfos;
/// 微信朋友圈类型 （0 配图  1 video 2 share）
@property (nonatomic, readwrite, assign) WYMomentExtendType type;

/// 分享内容
@property (nonatomic, readwrite, strong) WYMomentShareInfo *shareInfo;
/// 视频内容
@property (nonatomic, readwrite, strong) WYMomentVideo *videoInfo;
@end
